using WCell.Constants;
using WCell.RealmServer.Modifiers;

namespace WCell.RealmServer.Spells.Auras.Handlers
{
    /// <summary>
    /// Increases healing taken by %
    /// </summary>
    public class ModHealingTakenHandler : AuraEffectHandler
    {
        protected internal override void Apply()
        {
            m_aura.Auras.Owner.ChangeModifier(ModifierFlatInt.HealingTaken, EffectValue);
        }

        protected internal override void Remove(bool cancelled)
        {
            m_aura.Auras.Owner.ChangeModifier(ModifierFlatInt.HealingTaken, -EffectValue);
        }
    }
};
